<svg xmlns="http://www.w3.org/2000/svg">
  <!-- Test that an indefinite to-animation with discrete calcMode applies
       the underlying value for the whole time. -->
  <rect width="100%" height="100%" fill="lime"/>

  <rect x="15" y="15" width="100" height="100" fill="red"/>
  <rect x="15" y="15" width="100" height="100" fill="lime">
    <animateMotion to="500,500" dur="indefinite"
                   calcMode="discrete"/>
  </rect>
</svg>
